from transformers import AutoTokenizer
import os
os.environ["HF_ENDPOINT"] = "https://hf-mirror.com"

# google-bert
# /
# bert-base-chinese
tokenizer = AutoTokenizer.from_pretrained('bert-base-chinese',use_fast=True,repo_url="https://hf-mirror.com/google-bert")